#ifndef POS_H
#define POS_H
class Pos
{
public:
    int row;
    int col;
    Pos(int x=-1,int y=-1)
    {
        row = x;
        col = y;
    }
    //重载==便于计算两个pos是否相等
    bool operator==(const Pos& p) const
    {
        return row == p.row && col == p.col;
    }
};
#endif